package com.tbsoft.ehr.login.service;

import javax.servlet.http.HttpServletRequest;

import com.tbsoft.ehr.login.UserInfo;

/**
 * @desc 登录service
 * @author vastdream
 *
 */
public interface LoginService {
	/**
	 * @desc验证用户信息
	 * @param httpRequest
	 * @return
	 */
	public boolean AutherUserInfo(HttpServletRequest httpRequest);
	/**
	 * @desc 根据id查询用户信息
	 * @param userId
	 * @return
	 */
	public UserInfo getUserInfoById(String userId);
}
